package com.qsd.StudentSystem.service;

import javax.servlet.http.HttpServletRequest;

import com.qsd.common.po.Student;
import com.qsd.common.enums.ResultStatus;

public interface StudentService {

	/**
	 * 登录
	 * @param username 用户名
	 * @param password 密码
	 * */
	ResultStatus login(String username, String password, HttpServletRequest request);
	/**
	 * 注册
	 * @param student 用户信息
	 * */
	ResultStatus register(Student student, HttpServletRequest request);
	
}
